body * {
  box-sizing: border-box;
  // flex-shrink: 0;
}
img {
  display: block;
}
body {
  font-family:
    PingFangSC-Regular,
    Roboto,
    Helvetica Neue,
    Helvetica,
    Tahoma,
    Arial,
    PingFang SC-Light,
    Microsoft YaHei;
  background-color: #f5f7f9;
  margin: 0;
  padding: 0;
}
input {
  background-color: transparent;
  border: 0;
}
button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
  background-color: transparent;
}

button:active {
  opacity: 0.6;
}
.van-nav-bar__left:active,
.van-nav-bar__right:active {
  opacity: 1;
}
[class*='van-']::after {
  border-bottom: 0;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.justify-start {
  display: flex;
  justify-content: flex-start;
}
.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}
.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}
.justify-around {
  display: flex;
  justify-content: space-around;
}
.justify-between {
  display: flex;
  justify-content: space-between;
}
.align-start {
  display: flex;
  align-items: flex-start;
}
.align-center {
  display: flex;
  align-items: center;
}
.align-end {
  display: flex;
  align-items: flex-end;
}

/**
在2.2.31更新后，点击、hover会触发:focus-visible的状态，
导致会有黑框，影响美观，这是浏览器默认的:focus 样式。
要去除这个黑框，你可以通过CSS覆盖默认的:focus 样式。
**/
.el-tooltip__trigger:focus {
  outline: none; // unset 这个也行
}

:root {
  --el-color-primary: #32c5ff;
}

/* 修改全局的滚动条 */
/* 表格 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: transparent;
}

::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba($color: #a1a3a9, $alpha: 0.4);
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba($color: #888, $alpha: 0.4);
}

/* 确保导航栏菜单按钮背景透明 */
.el-menu--horizontal .el-menu-item {
  background-color: transparent !important;
  background: transparent !important;
}

.el-menu--horizontal .el-menu-item:hover,
.el-menu--horizontal .el-menu-item:focus,
.el-menu--horizontal .el-menu-item:active,
.el-menu--horizontal .el-menu-item.is-active {
  background-color: transparent !important;
  background: transparent !important;
}
